package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("案件合同记录创建参数")
public class LegalCaseContractCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "aId参数缺失")
    @ApiModelProperty(value = "")
    private Long aId;

    @NotNull(message = "templateId参数缺失")
    @ApiModelProperty(value = "")
    private Long templateId;

    @NotNull(message = "caseId参数缺失")
    @ApiModelProperty(value = "")
    private Long caseId;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "1-发单用户签署 2-律师签署")
    private Integer type;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "")
    private Long userId;

    @NotNull(message = "areaMobile参数缺失")
    @ApiModelProperty(value = "")
    private String areaMobile;

    @NotNull(message = "userMobile参数缺失")
    @ApiModelProperty(value = "")
    private String userMobile;

    @NotNull(message = "fileId参数缺失")
    @ApiModelProperty(value = "")
    private String fileId;

    @NotNull(message = "fileJson参数缺失")
    @ApiModelProperty(value = "")
    private String fileJson;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "1-已签")
    private Integer status;

    @NotNull(message = "startDate参数缺失")
    @ApiModelProperty(value = "生效日期")
    private Date startDate;

    @NotNull(message = "endDate参数缺失")
    @ApiModelProperty(value = "失效日期")
    private Date endDate;

    @NotNull(message = "signFlowId参数缺失")
    @ApiModelProperty(value = "签署流程id")
    private String signFlowId;

}
